package com.ewzj.bigdata.mvp.model.entity.resbean;

/**
 * Author:zhangjing
 * Time:2018/3/20  上午9:44
 * Name: this is BaseData
 * Email:zhangjingworkmol@163.com
 */

public class BaseData<T> {

    /**
     * success : true
     * code : 0
     * message : string
     * data : {}
     */

    private boolean success;
    private int code;
    private String message;
    private T data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
